﻿Imports BusinessRule.DTO

Public Interface uMESCheckPointManageIBusiness
    Function GetSpecNameByProduct(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetCheckPointGroupInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetCheckPointInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetProductNoByContainer(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult


    Function CreateCheckPointGroup(ByVal oCheckPointInfo As CheckPointInfo, ByRef result As Boolean, ByRef message As String) As Boolean

    Function UpdateCheckPointGroup(ByVal strName As String, ByVal intCount As Integer, ByVal oCheckPointInfo As CheckPointInfo, ByRef result As Boolean, ByRef message As String) As Boolean

    Function GetCheckPointGroupByProductAndSpec(ByVal para As Dictionary(Of String, String)) As uMESProcessResult

    Function GetCheckPointInfoForCheck(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function CreateCheckPointResultByWorker(ByVal oCheckPointInfo As CheckPointResultInfo, ByRef result As Boolean, ByRef message As String) As Boolean

    Function UpdateCheckPointResultByWorker(ByVal oCheckPointInfo As CheckPointResultInfo, ByRef result As Boolean, ByRef message As String) As Boolean


    Function CreateCheckPointResultByChecker(ByVal oCheckPointInfo As CheckPointResultInfo, ByRef result As Boolean, ByRef message As String) As Boolean

    Function UpdateCheckPointResultByChecker(ByVal oCheckPointInfo As CheckPointResultInfo, ByRef result As Boolean, ByRef message As String) As Boolean

    Function GetCheckPointInfoView(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult


    Function GetStepCheckPointInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function DeleteStepCheckinfo(ByVal productid As String, ByVal specid As String, ByVal name As String) As Boolean

    Function boolCheckNameExists(ByVal strproductid As String, ByVal strSepcid As String, ByVal strCheckName As String) As Boolean

    Function InsertIntoStepCheckPointTable(ByVal checkinputtype As String, ByVal checkno As String, ByVal checkpointnote As String, ByVal checktype As String, ByVal inputnum As String, ByVal keycheck As String,
           ByVal meopcheck As String, ByVal NAME As String, ByVal productid As String, ByVal qualitycheck As String, ByVal stepcheckpointid As String, ByVal workflowstepid As String, ByVal specid As String) As Boolean

    Function GetWorkflowstepId(ByVal strSpecName As String, ByVal strSpecVersion As String, ByVal strProduct As String, ByVal strProductVersion As String) As String

    Function GetSpecId(ByVal strSpecName As String, ByVal strSpecVersion As String) As String

    Function GetProductId(ByVal strProduct As String, ByVal strProductVersion As String) As String
End Interface
